#include <iostream>
#include <map>
#include <set>
#include "AVLTree.h"

using namespace std;

void Test_AVLTree()
{
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };

	AVL_Tree<int, int> t;

	for (auto e : a)
	{
		t.insert(make_pair(e, e));
	}

	t.InOder();
	cout << t.IsBlance() << endl;
}

int main()
{
	Test_AVLTree();
	return 0;
}

